home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / waldo / waldo.exe / FINAL08.DXR / 00331.ls < prev    next >
Encoding:
Text File  |  1995-10-08  |  370 b   |  14 lines

  1. on mouseDown
  2.   if programmersKey() then
  3.     set whichSprite to the clickOn
  4.     set userH to the mouseH - the left of sprite whichSprite
  5.     set userV to the mouseV - the top of sprite whichSprite
  6.     if inside(point(userH, userV), rect(60, 40, 70, 45)) then
  7.       go("2-Lane!")
  8.       repeat while the stillDown
  9.         nothing()
  10.       end repeat
  11.     end if
  12.   end if
  13. end
  14.